package com.sc.design.PK.structure.decoration_adaptor.decoration;

/**
 * @author sc
 * Created on  2017/12/8
 */
public  class Decorator implements Swan{
    private Swan ugly;
    Decorator(Swan ugly){
        this.ugly = ugly;
    }
    @Override
    public void fly() {
        ugly.fly();
    }

    @Override
    public void cry() {
        ugly.cry();
    }

    @Override
    public void desAppearance() {
        ugly.desAppearance();
    }
}
